package com.cloud.position.xlctawler;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = {"com.cloud.position.xlctawler.*"})
@ComponentScan(basePackages = {"com.cloud.position.xlctawler.controller","com.cloud.position.xlctawler.service.*","com.cloud.position.xlctawler.config"})
@MapperScan(basePackages = {"com.cloud.position.xlctawler.dao"})
@SpringBootApplication
public class XlctawlerApplication {

    public static void main(String[] args) {
        SpringApplication.run(XlctawlerApplication.class, args);
    }

}
